package com.etc.delivery.dao.admin;

import com.etc.delivery.dto.WaybillDto;
import com.etc.delivery.entity.MailType;
import com.etc.delivery.entity.Waybill;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminWaybillDao {


    public List<WaybillDto> queryWaybill(@Param("waybillNo") String waybillNo, @Param("mailType") Integer mailType, @Param("warehouseId") Integer warehouseId);

    public boolean deleteWaybill(@Param("waybillNo") String waybillNo);

    public boolean updateWaybill(Waybill waybill);

    public List<MailType> queryMailName();

}
